/**
 * @author: dn-jinmin/dn-jinmin
 * @doc:
 */

package chatinternal

import (
	"aiworkc/internal/logic/chatinternal/toolx"
	"aiworkc/internal/svc"
	"github.com/tmc/langchaingo/tools"
)

type DefaultHandler struct {
	svc *svc.ServiceContext
	*baseChat
}

func NewDefaultHandler(svc *svc.ServiceContext) *DefaultHandler {
	return &DefaultHandler{
		svc: svc,
		baseChat: NewBaseChat(svc, []tools.Tool{
			toolx.NewDefaultHandler(svc),
			toolx.NewImg(svc),
		}),
	}
}

func (d *DefaultHandler) Name() string {
	return "default"
}

func (d *DefaultHandler) Description() string {
	return "这是一个默认的程序，在没有合适的选择时就选择它"
}

//func (d *DefaultHandler) Chains() chains.Chain {
//	return d.c
//}
